package com.example.clxy.service;

import com.example.clxy.entity.School;
import com.example.clxy.result.PageResult;
import com.example.clxy.result.WebRestResult;
import com.example.clxy.result.business.PageResult.SchoolPageResult;


/**
 * @author Hsieh
 * @title: SchoolService
 * @projectName clxy
 * @description: TODO
 * @date 2020/8/1213:45
 */
public interface SchoolService {

    WebRestResult addSchool(School school);

    WebRestResult deleteSchool(String schoolid);

    WebRestResult updateSchool(School school);

    PageResult<SchoolPageResult> getSchoolbyname(String schoolname, int page, int pagesize);

    PageResult<SchoolPageResult> getSchoolbyid(String schoolid, int page, int pagesize);


}
